package guiLayer;

import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;

public class ShowSuppliers extends JPanel {
	private JTable table;

	/**
	 * Create the panel.
	 */
	public ShowSuppliers() {
		setLayout(new BorderLayout(0, 0));
		setBounds(100, 100, 1002, 572);
		
        Object[] columnNames = {};
		
		DefaultTableModel model = new DefaultTableModel(null, columnNames);
		table = new JTable(model);
		
		JScrollPane scrollPane = new JScrollPane(table);
		add(scrollPane, BorderLayout.WEST);
		
		JPanel panel_1 = new JPanel();
		FlowLayout flowLayout = (FlowLayout) panel_1.getLayout();
		flowLayout.setHgap(200);
		add(panel_1, BorderLayout.EAST);
		
		JPanel panel_2 = new JPanel();
		add(panel_2, BorderLayout.CENTER);
		
	}

}
